/**
 * Created by Mak on 2017/8/29.
 * 常量定义
 */

export const IS_OK = 0;

export const FORMAT_DATE_YYYYMMDD = "yyyyMMdd";

export const FORMAT_DATE_YYYY_MM_DD = "yyyy-MM-dd";

// OSS配置信息
export const OSS_BUCKET = "kl-lab";
export const OSS_REGION = "oss-cn-hangzhou";
export const OSS_URL = "kl-lab.oss-cn-hangzhou.aliyuncs.com";
export const OSS_REAL_URL = "image.kanglailab.com";
export const OSS_WEB_URL = "web_images/";

/**
 * API接口
 */
// 单个报告单结果下载
export const reportDown = "report/down";
// 报告单结果批量下载
export const reportBatchDown = "report/batchDown";

// 单个核酸报告单结果下载
export const hsReportDown = "hsReport/down";
// 核酸报告单结果批量下载
export const hsReportBatchDown = "hsReport/batchDown";

// 预约单下载
export const appointReportDown = "appoint/reportDown";

// 报告单打印提醒心跳时间 20s
//export const newReportPrintTime = 20000;
export const newReportPrintTime = 60000;
// 新消息提醒心跳时间 10s
//export const newMsgRemindTime = 20000;
//export const newMsgRemindTime = 60000;
// 收样新消息提醒心跳时间 60s
//export const collectRefreshTime = 60000;
export const collectRefreshTime = 120000;
// 定时检查电量 60s
export const newMsgPowerRemindTime = 60000;


// 项目管理下载导入模板地址
// 医检项目导入模板                                
export const INSTITUTION_ITEM_IMPORT_TEMPLATE = "https://r.kanglailab.com/static/download/医检项目组导入模板.xlsx"
// 医检子项目导入模板
export const INSTITUTION_SUB_ITEM_IMPORT_TEMPLATE = "https://r.kanglailab.com/static/download/医检子项目导入模板.xlsx"
// 医院项目导入模板
export const HOSPITAL_ITEM_IMPORT_TEMPLATE = "https://r.kanglailab.com/static/download/医院项目组导入模板.xlsx"
// 医院子项目导入模板
export const HOSPITAL_SUB_ITEM_IMPORT_TEMPLATE = "https://r.kanglailab.com/static/download/医院子项目导入模板.xlsx"
// 康来项目导入模板
export const REPORT_ITEM_IMPORT_TEMPLATE ="https://r.kanglailab.com/static/download/康来项目组导入模板.xlsx"
// 康来子项目导入模板
export const REPORT_SUB_ITEM_IMPORT_TEMPLATE ="https://r.kanglailab.com/static/download/康来子项目导入模板.xlsx"
// 价格模块导入模板
export const PRICE_MODEL_ITEM_IMPORT_TEMPLATE = "https://r.kanglailab.com/static/download/项目价格导入模板.xlsx"
// 医检标本导入模板
export const MEDICAL_SPECIMEN_ITEM_IMPORT_TEMPLATE = "https://r.kanglailab.com/static/download/医检样本类型导入模板.xlsx"


